package com.android.gl2jni.filter;

import android.content.Context;
import com.android.gl2jni.ShaderUtils;

/**
 * Create time: 2018/9/15.
 */
public class FastBlurFilterProgram extends TextureFilterProgram {

  /**
   * Prepares the program in the current EGL context.
   */
  public FastBlurFilterProgram(Context context) {
    super(context, ProgramType.TEXTURE_EXT);
  }

  @Override
  protected String getFragmentShaderSourceEXT() {
    return ShaderUtils.readAssetsTextFile(getContext(),
        "filter/fsh/shadertoy/fast_blur.glsl");
  }

}
